import React from 'react'
import { IndexRoute, Route } from 'react-router'
import App from './containers/App'
import MainPage from './containers/MainPage'
import TestPaper from './containers/TestPaper'
import TestResult from './containers/TestResult'

export default (
    <Route path="/" handler={App}>
        <IndexRoute component={MainPage} />
        <Route path="/test_result/:id" component={TestResult} />
        <Route path="/test_paper/:id" component={TestPaper} />
    </Route>
)
